
#include <string>
using std::string;
class SpreadsheetCell
{
public:
	SpreadsheetCell();
	SpreadsheetCell(double initiaValue);
	SpreadsheetCell(string initialValue);
	SpreadsheetCell(const string& initialValue);
	SpreadsheetCell(const SpreadsheetCell& src);
	void setValue(double inValue);
	double getValue() const;
	//void setString(string inString);
	void setString(const string& inString);
	string getString() const;
protected:
	string doubleToString(double inValue) const;
	//double stringToDouble(string inString)const;
	double stringToDouble(const string& inString) const;
	double mValue;
	string mString;
};

